package com.example.demo.mapper;

import com.example.demo.entity.Artical;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MeMapper {
    @Update("update t_comment SET sex=#{sex},name=#{name},phone=#{phone}," +
            "created=#{created},email=#{email}," +
            "beizhu=#{beizhu} where id=#{id}")
    public int updateme(Artical artical);
}
